/**
 * @description: Login interface parameters
 */
export interface LoginParams {
  userName: string;
  passWord: string;
}
export interface LoginH5Params {
  code: string;

}
export interface RoleInfo {
  roleName: string;
  value: string;
}

/**
 * @description: Login interface return value
 */
export interface LoginResultModel {
  userId: string | number;
  token: string;
  userName: string;
  roles: RoleInfo[];
}

/**
 * @description: Get user information return value
 */
export interface GetUserInfoModel {
  roles: RoleInfo[];
  // 用户id
  sysUserId: string | number;
  // 用户名
  userName: string;
  // 真实名字
  nickName: string;
  // 手机
  phone: string;
  // 介绍
  desc?: string;
}

export interface detailParams {
  userId: string;
}

export interface saveParams {
  userId: string|null;
  levelName: string;
  isRead: number
}
export interface queryAllParams {
  state: number;
}
export interface noteDetailParams {
  noteId: string;
}
